Micron Document
Deavmi's coding shack

Node / mirrors / glog / commits / c6b0733

Commit c6b0733f1af7ffb1de9c4c00a8b834782a3056a3


Parents : 50c9127
Author : Tristan Brice Velloza Kildaire <deavmi@redxen.eu>
Date : 2026-04-27T18:30:31+02:00

added doc

Changes

1 files changed, 13 insertions(+), 0 deletions(-)


Diff

diff --git a/std/filters/consts.go b/std/filters/consts.go
index 717272f..d0c3ace 100644
--- a/std/filters/consts.go
+++ b/std/filters/consts.go
@@ -2,14 +2,27 @@ package filters
import "fmt"
+// represents a log level
type Level = uint8
+// the log levels
const (
+ // fatal logging level
LEVEL_FATAL Level = iota
+
+ // error logging level
LEVEL_ERROR
+
+ // warning logging level
LEVEL_WARN
+
+ // informative logging level
LEVEL_INFO
+
+ // debug logging level
LEVEL_DEBUG
+
+ // trace logging level
LEVEL_TRACE
)

Served by rngit 1.5.0 - Generated in 0.08s